package day240426.work;

import day240426.work.Girl;

public class GirlTest {
    public static void main(String[] args) {
        Girl girl=new Girl("小芳",18);
        System.out.println(girl.name);
        System.out.println(girl.age);
        Boy boy1=new Boy("小明",16);
        System.out.println(girl.getlove(boy1));
        girl.setLove(99);
        System.out.println(girl.getLove());



    }
}
